Deploying to heroku for the first time

jamesperet 11 years ago
parent
commit
830f72c523
3 changed files with 11 additions and 1 deletions
  1. 4 0
      Gemfile
  2. 6 0
      Gemfile.lock
  3. 1 1
      readme.md

+ 4 - 0
Gemfile

@@ -1,5 +1,7 @@
1 1
 source 'https://rubygems.org'
2 2
 
3
+ruby '2.0.0'
4
+
3 5
 # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4 6
 gem 'rails', '4.0.4'
5 7
 
@@ -44,6 +46,8 @@ gem "letter_opener", :group => :development
44 46
 gem 'redcarpet'
45 47
 gem 'summernote-rails'
46 48
 
49
+gem 'rails_12factor', group: :production
50
+
47 51
 # Use ActiveModel has_secure_password
48 52
 # gem 'bcrypt', '~> 3.1.7'
49 53
 

+ 6 - 0
Gemfile.lock

@@ -90,6 +90,11 @@ GEM
90 90
       bundler (>= 1.3.0, < 2.0)
91 91
       railties (= 4.0.4)
92 92
       sprockets-rails (~> 2.0.0)
93
+    rails_12factor (0.0.2)
94
+      rails_serve_static_assets
95
+      rails_stdout_logging
96
+    rails_serve_static_assets (0.0.2)
97
+    rails_stdout_logging (0.0.3)
93 98
     railties (4.0.4)
94 99
       actionpack (= 4.0.4)
95 100
       activesupport (= 4.0.4)
@@ -155,6 +160,7 @@ DEPENDENCIES
155 160
   letter_opener
156 161
   pg
157 162
   rails (= 4.0.4)
163
+  rails_12factor
158 164
   redcarpet
159 165
   sdoc
160 166
   simple_form

+ 1 - 1
readme.md

@@ -198,7 +198,7 @@ rails g migration AddValidationToMissionAgentStep validated:boolean validated_by
198 198
 [X] Agent Mission History
199 199
 [  ] Access control
200 200
 [X] Run Algorithm every time something changes
201
-[  ] Sign In Redirect
201
+[X] Sign In Redirect
202 202
 [  ] Heroku Upload
203 203
 [  ] Empty Dashboard
204 204